package Menu;

import java.awt.Frame;
import java.awt.Menu;
import java.awt.MenuBar;
import java.awt.MenuItem;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class FenetreJeu extends Frame implements ActionListener{
	
	
	public FenetreJeu() {
		
	 setTitle("Fenetre du Jeu"); 
     setSize(500,500); 
     setBounds(10,10,300,300);
     setVisible(true);
     construirMenu();
     
	}
	@Override
	public void actionPerformed(ActionEvent arg0) {
		// TODO Auto-generated method stub
		
	}
	
	
	
	 public void construirMenu(){
	        
	        // la barre de menu
	        MenuBar menubar = new MenuBar();
	        
	        // menu "jouer"
	        Menu menu_jeu = new Menu("Jeu");

	       
	        menubar.add(menu_jeu);
		

	        setMenuBar(menubar);
	  }

}
